<?php

include dirname(__FILE__).'/header.php';

?>
<body>
	<div id="page-container">
		<h3>Tenant Administration Dashboard</h3>
		<div id="testapplink"><a target="_blank" href="<?php print base_url() ?>cart/view/<?php echo $username; ?>/cwelcome">Test Application</a></div>
		<div id="tabs">
			<ul>
				<li id="welcome" class="tab-active"><a href="#">Welcome</a></li>
				<li id="mngobjs"><a href="#">Manage Objects</a></li>
				<li id="inventory"><a >Manage Products</a></li>
				<li id="catalog"><a >Manage Catalog</a></li>
				<li id="websvcs"><a >WebServices</a></li>
				<li id="cwebsvcs"><a >Custom WebServices</a></li>
				<li id="workflow"><a >Workflow</a></li>
				<li id="customizer"><a >Customizer</a>
				<li id="sidelinks"><a >Side Links</a>
			</ul>
		</div>
		<!-- End tabs -->
		<div id="tab-container">Welcome to SunShop..</div>
	</div>
	<!-- Ends page-container -->
</body>
<script type="text/javascript">

$(document).ready(function(){

	$('li').click(function(){
		var obj=$(this);
		$('li').removeClass('tab-active');
		obj.addClass('tab-active');
		load_admin_tabs('<?php print base_url(); ?>admin/loadtab/'+obj.attr('id'),'tab-container');
	});
	
});

</script>
<footer>
<div id="footer-container">&copy; Copyright SunShop Inc.</div>
</footer>
